/*版心*/
.w {
  width: 1200px;
  margin: 0 auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
/*声明字体图标 注意路径变化*/
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?tomleg');
  src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
  url('../fonts/icomoon.ttf?tomleg') format('truetype'),
  url('../fonts/icomoon.woff?tomleg') format('woff'),
  url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/*快捷导航模块 shortcut 开始*/
.shortcut {
  height: 31px;
  line-height: 31px;
  background-color: #f1f1f1;
}
.shortcut ul li {
  float: left;
}
/*添加每个 li 中间的分隔竖线*/
.shortcut .fr ul li:nth-child(2n) {
  width: 1px;
  height: 10px;
  background-color: #666;
  margin: 9px 12px 0;
}
/*利用伪元素 添加下三角 \ 为转义的意思，先声明才可以使用icomoon*/
.arrow-icon::after {
  content: '\e91e';
  font-family: 'icomoon';
}
/*快捷导航模块 shortcut 结束*/

/*头部 开始*/
.header {
  position: relative;
  height: 105px;
}
.logo {
  position: absolute;
  top: 25px;
  width: 172px;
  height: 61px;
}
/*LOGO SEO优化写法*/
.logo a {
  display: block;
  width: 172px;
  height: 61px;
  background: url("../images/logo.png") no-repeat;
  font-size: 0;/*隐藏SEO 优化写的文字*/
  /*隐藏SEO 优化写的文字另外一种写法：
      原理：把文字通过负值的缩进移出盒子外，在超出隐藏
  text-indent: -999999px;
  overflow: hidden;*/
}
.search {
  position: absolute;
  left: 346px;
  top: 25px;
  width: 540px;
  height: 32px;
  border: 2px solid #b1191a;
  overflow: hidden;
}
.search input {
  float: left;
  width: 455px;
  height: 32px;
  line-height: 36px;
  padding-left: 10px;
}
.search button {
  float: left;
  width: 81px;
  height: 32px;
  background-color: #b1191a;
  color: #ffffff;
  font-size: 16px;
}
.hotwords {
  position: absolute;
  left: 346px;
  top: 65px;
  padding: 0 15px;
}
.hotwords a {
  font-size: 12px;
  margin-right: 17px;
}
.shopcar {
  position: absolute;
  top: 25px;
  right: 60px;
  width: 140px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border: 1px solid #dfdfdf;
  background-color: #f7f7f7;
}
.shopcar p::before {
  content: '\e93a';
  font-family: 'icomoon';
  margin-right: 5px;
  color: #b1191a;
}
.shopcar p::after {
  content: '\e920';
  font-family: 'icomoon';
  margin-left: 8px;
}
.count {
  position: absolute;
  top: -5px;
  left: 105px;
  height: 14px;
  line-height: 14px;/*会继承父元素的 需要改过来*/
  color: #ffffff;
  padding: 0 5px;
  background-color: #e60012;
  -webkit-border-radius: 7px 7px 7px 0;
  -moz-border-radius: 7px 7px 7px 0;
  border-radius: 7px 7px 7px 0;
}
/*头部 结束*/

/*导航栏 开始*/
nav {
  height: 47px;
  border-bottom: 2px solid #b1191a;
}
nav .dropdown{
  float: left;
  width: 210px;
  height: 45px;
  background-color: #b1191a;
}
nav .dropdown .dt {
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
  color: #ffffff;
}
nav .dropdown .dd {
  width: 210px;
  height: 465px;
  background-color: #c81623;
}
.dropdown .dd ul li {
  position: relative;
  height: 31px;
  line-height: 31px;
  padding-left: 10px;
}
.dropdown .dd ul li:hover {
   background-color: #fff;
 }
/*设置三角*/
.dropdown .dd ul li::after {
  position: absolute;
  top: 1px;
  right: 10px;
  content: '\e920';
  font-family: 'icomoon';
  color: #ffffff;
  font-size: 14px;
}
.dropdown .dd ul li:hover {
  background-color: #fff;
}
.dropdown .dd ul li a {
  color: #ffffff;
  font-size: 14px;
}
.dropdown .dd ul li a:hover {
  color: #c81623;
}
nav .navitems {
  float: left;
  width: 720px;
  height: 45px;
  line-height: 45px;
  margin-left: 10px;
}
nav .navitems a {
  color: #333333;
  font-size: 16px;
  padding: 0 22px;
}
nav .navitems a:hover {
  color: #c81623;
}
/*导航栏 结束*/

/*底部 开始*/
.footer {
  height: 415px;
  background-color: #f5f5f5;
  padding-top: 30px;
}
.mod_service {
  height: 80px;
  border-bottom: 1px solid #cccccc;
}
.mod_service ul li {
  float: left;
  width: 300px;
  height: 50px;
  padding-left: 35px;
}
.mod_service ul li h5 {
  float: left;
  width: 50px;
  height: 50px;
  background: url("../images/icons.png") no-repeat -252px -2px;
  margin-right: 8px;
}
.service_txt h4 {
  margin-top: 5px;
  font-size: 14px;
}
.service_txt p {
  font-size: 12px;
}
.mod_help {
  height: 185px;
  border-bottom:1px solid #cccccc;
  padding: 20px 0 0 50px;
}
.mod_help dl {
  float: left;
  width: 200px;
}
/*选择最后一个 ul 修改样式*/
.mod_help dl:last-child {
  width: 90px;
  text-align: center;
}
.mod_help dl dt {
  font-size: 14px;
  margin-bottom: 10px;
}
.mod_help dl dd a{
  color: #000;
}
.mod_copyright {
  text-align: center;
  padding-top: 20px;
}
.links {
  margin-bottom: 15px;
}
.links a{
  font-size: 14px;
  padding: 0 10px;
}
/*底部 结束*/